@import './mixin.scss';


// 全局样式-开始
* {
  box-sizing: border-box;
  word-break: break-word;
  //color: #0F0A0A;
}

/**
  屏幕适配
 */
@media screen and (min-width:799px) and (max-width:1920px){
    html{
      zoom:0.86;
      //.head{
      //  width: 1620px;
      //}
    }
}


body {
  //font-family: Arial, Helvetica, "PingFangSC-Regular", 'STHeiti STXihei', 'Microsoft YaHei', Tohoma, sans-serif;
  font-family: 'Poppins','Microsoft YaHei',Helvetica,Arial,sans-serif;
  margin: 0;
  padding: 0;
  height: 100%;
  font-size: 14px;
  background: white;
  overflow-x: hidden;
}

div, form, img, ul, ol, li, dl, dt, dd {
  margin: 0;
  padding: 0;
  border: 0;
}

li {
  list-style-type: none;
}

img {
  vertical-align: top;
}

a {
  color: black;
  display: inline-block;
  text-decoration: none;
}

a:link {
  //color: #333333;
  text-decoration: none;
}

//a:visited {
//  color: #83006f;
//  text-decoration: none;
//}

a:hover {
  color: #064eb1;
  text-decoration: none;
}

a:active {
  color: #064eb1;
}

// 全局样式-结束
#app {
  height: 100%;
}

html,
body .app {
  background-color: $background-color;
  height: 100%;
  color: #333333;
}

.app-container {
}

//布局-风格
.width-div {
  width: 100%;
}

.height-div {
  height: 100%;
}

.font12 {
  font-size: 12px;
}

.font14 {
  font-size: 14px;
}

.font16 {
  font-size: 16px;
}

.font18 {
  font-size: 18px;
}

.font20 {
  font-size: 20px;
}

.font22 {
  font-size: 22px;
}

.font24 {
  font-size: 24px;
}

.font56 {
  font-size: 56px;
}

.fontBold {
  font-weight: bold;
}

.txt-l {
  text-align: left;
}

.txt-C {
  text-align: center;
}

.txt-r {
  text-align: right;
}

.padding10 {
  padding: 10px;
}

.padding20 {
  padding: 20px;
}

.margin10 {
  margin: 10px;
}

.marginlr10 {
  margin: 0 10px;
}

.margint10 {
  margin: 10px 0 0;
}

.marginl10 {
  margin: 0 0 0 10px;
}

.marginr10 {
  margin: 0 10px 0 0;
}

.marginb10 {
  margin: 0 0 10px;
}

.margintb10 {
  margin: 10px 0;
}


.marginl05 {
  margin-left: 5px;
}

.marginr05 {
  margin-right: 5px;
}

.marginl10 {
  margin-left: 10px;
}

.marginl20 {
  margin-left: 20px;
}

.margint20 {
  margin-top: 20px;
}

.marginb20 {
  margin-bottom: 20px;
}


.margin20 {
  margin: 20px;
}

.lineHeight20 {
  line-height: 20px;
}

.lineHeight30 {
  line-height: 30px;
}

.overf {
  overflow: hidden;
}

.red {
  color: #E12626;
}

.green {
  color: #52C41A;
}

.grey {
  color: #8C8C8C;
}

.white {
  color: white;
}

.black {
  color: #0F0A0A;
}

.blue{
  color: #40A3E1;
}

.pointer {
  cursor: pointer;
}

.flex {
  display: flex;
}

.justify-content-c {
  justify-content: center;
}

.justify-content-start{
  justify-content: flex-start;
}

.justify-content-end{
  justify-content: flex-end;
}

.align-items-c {
  align-items: center;
}

.space-between {
  justify-content: space-between;
}

.flex-column{
  flex-direction: column;
}


.circle {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.greenBg {
  background: #52C41A;
}

.redBg {
  background: #E12626;
}

.blackBg {
  background: #333333;
}

.gradientBg {
  background: linear-gradient(180deg, #E55147 0%, #E87453 100%);
}

.none {
  display: none;
}

.inline-block {
  display: inline-block;
}

.mainFont {
  color: #333333;
}

.subFont {
  color: #666666;
}

.whiteFont{
  color: white;
}

.clear {
  clear: both;
}

.txt-overflow {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.txt-overflow-line2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.txt-overflow-line3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.txt-align-justify{
text-align: justify;
}
.abs{
  position: absolute;
}
.rel{
  position: relative;
}
.fix{
  position: fixed;
}

/*-----------------pc-----------------*/
.wrap{ width: 100%; height: 100%; font-size: 14px; }
// head
.head-bg{
  position: fixed;
  top: 0;
  z-index: 999;
  width: 100%;
  height: 128px;
}
.head-bg-white{
  background: #FFFFFF;
  box-shadow: 0 0 16px 0 rgba(13,34,74,0.14);
  .head{
    padding: 32px 0;
  }
}
.head{
  width: 1530px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 48px 0 16px;
  .logo{
    width: 264px;
    height: 64px;
    cursor: pointer;
    > img{
      width: 264px;
      height: 64px;
    }
  }
  .spread{
      width: 28px;
      height: 20px;
    > img{
      width: 28px;
      height: 20px;
    }
  }
  .nav{
    & ul{
      display: flex;
      align-items: center;
      justify-content: flex-end;
      height: 75px;
      & li:hover{
        .sub-menu{
          display: block;
        }
        .icon-down{ display: none}
        .icon-up{ display: block}
      }
      & li{
        padding: 0 22px;
        font-size: 16px;
        font-weight: 400;
        height: 75px;
        line-height: 75px;
        position: relative;
        cursor: pointer;
        > a{
          color: #26282A;
          display: inline-flex;
          align-items: center;
          height: 100%;
          .icon-down{
            width: 8px;
            height: 5px;
            margin: 0 0 0 10px;
            display: block;
          }
          .icon-up{
            width: 8px;
            height: 5px;
            margin: 0 0 0 10px;
            display: none;
          }
        }
        & a:hover ,a:active{
          color: #4988FD;
        }
        .sub-menu{display: none}
        .sub-menu-container{
          position: fixed;
          z-index: 1000;
          top: 75px;
          left: 0;
          right: 0;
          background: white;
          box-shadow: 0 5px 28px 4px rgba(0,0,0,0.05);
          padding: 10px 0;
          .sub-menu-row {
            width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
            padding-left: 300px;
            box-sizing: border-box;
          }

          .sub-menu-item:hover {
            background: #F2F7FD;
            border-radius: 6px;
            .sub-menu-title{
              color: #3860F9;
            }
          }
          .sub-menu-item {
            display: flex;
            align-items: center;
            justify-content: flex-start;
            padding: 12px;
            box-sizing: border-box;
            img {
              width: 34px;
              height: 34px;
            }

            a{
              margin-left: 14px;
              cursor: pointer;
            }

            .sub-menu-title {
              font-weight: 500;
              color: #000000;
              line-height: 1;
              opacity: 0.85;
            }

            .sub-menu-description {
              font-weight: 400;
              font-size: 12px;
              color: #000000;
              line-height: 1;
              opacity: 0.3;
              margin-top: 3px;
            }
          }
        }
      }
    }
  }
}
//banner

//video
.video{
  width: 100%;
  height: 1080px;
  background: url("../../assets/images/banner.png") no-repeat top center;
  background-size: 100% 100%;
  position: absolute;
  top: 0;
  z-index: 1;
}
//content
.content{
  width: 100%;
  padding: 75px 0 0;
}
//foot
.foot{
  width: 100%;
  background: #21292E;
  .foot-t{
    width: 1400px;
    margin: 0 auto;
    padding: 50px 0;
    display: flex;
    justify-content: space-between;
    .foot-t-l{
      .foot-logo{
        width: 130px;
        height: 120px;
        & img{
          width: 130px;
          height: 120px;
        }
      }
    }
    .foot-t-r{
      display: flex;
      dl:last-child{margin-right: unset}
      dl{
        margin-right: 97px;
        dt{
          font-weight: 600;
          font-size: 26px;
          color: #FFFFFF;
          line-height: 32px;
          text-align: left;
          font-style: normal;
        }
        dd{
          > a{
            font-weight: 500;
            font-size: 20px;
            color: #999999;
            line-height: 32px;
            text-align: left;
            font-style: normal;
          }
          > a:hover{
            color: white;
          }
        }
      }
    }
  }
  .foot-m{
    width: 1400px;
    margin: 0 auto;
    padding-bottom: 28px;
    border-bottom: 1px solid #6C757B;
    .icon{
      display: flex;
      align-items: center;
      img{
        width: 34px;
        height: 34px;
        margin-right: 28px;
      }
    }
  }
  .foot-b{
    width: 1400px;
    margin: 0 auto;
    padding: 40px 0 36px;
    .privacy{
      font-weight: 600;
      font-size: 16px;
      color: #DFDFDF;
      line-height: 17px;
      text-align: left;
      font-style: normal;
    }
    .reserved{
      font-weight: 400;
      font-size: 14px;
      color: #C1C1C1;
      line-height: 16px;
      text-align: left;
      font-style: normal;
      margin-top: 12px;
    }
  }
}

.width1200{
  width: 1200px;
  margin: 0 auto;
}

.width1400{
  width: 1400px;
  margin: 0 auto;
}

//首页弹框-移动端
.dialog-index .el-dialog__header{
  display: none;
}
.dialog-index .el-dialog__body {
  padding: 10px 20px 20px;
}
//菜单弹框-隐藏关闭-移动端
.phone-drawer .el-drawer__header{
  display: none;
}
.phone-drawer .el-drawer__body{
  padding-top: 1rem;
}

//首页弹框-PC
.dialogIndex .el-dialog__header{
  display: none;
}
.dialogIndex .el-dialog__body {
  padding: 10px 0 20px;
}

//el-dialog页面垂直居中-pc
.el-dialog{
  display: flex;
  display: -ms-flex; /* 兼容IE */
  flex-direction: column;
  -ms-flex-direction: column; /* 兼容IE */
  margin:0 !important;
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  max-height:calc(100% - 60px);
  max-width:calc(100% - 30px);
}
.el-dialog .el-dialog__body{
  max-height: 100%;
  flex: 1;
  -ms-flex: 1 1 auto; /* 兼容IE */
  overflow-y: auto;
  overflow-x: hidden;
}

.el-dialog__wrapper {
  /*隐藏ie和edge中遮罩的滚动条*/
  overflow: hidden;
}

.right-arrow-icon{
  width: 26px;
  height: 26px;
}

.main-tit{
  font-size: 28px;
  color: #000000;
  text-align: center;
  font-weight: 600;
}
.sub-tit{
  font-size: 14px;
  color: #585858;
  text-align: center;
  margin-top: 13px;
}

.freeBtn:hover{
  color: rgba(255, 255, 255, 0.9);
}
.freeBtn{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 168px;
  height: 42px;
  line-height: 42px;
  background: linear-gradient(-16deg, rgb(7, 108, 245), rgb(14,60,125));
  border-radius: 20px;
  color: white;
  font-size: 16px;
  img{
    margin-left: 10px;
  }
}

.form-style{
  .el-input__inner, .el-textarea__inner{
    border: 1px solid #E1E8ED;
    background-color: #F5F9F9;
  }
  .el-form-item{
    .el-form-item__label{
      padding: 0;
    }
  }
  .el-radio__input.is-checked .el-radio__inner{
    border-color: #064EB1;
    background: #064EB1;
  }
  .el-checkbox__input.is-checked .el-checkbox__inner{
    border-color: #064EB1;
    background: #064EB1;
  }
  .el-checkbox__input.is-checked+.el-checkbox__label{
    color: #064EB1;
  }
  .el-textarea .el-input__count{
    background: #F5F9F9;
  }
}


//子页面
.sub-banner{
  width: 100%;
  height: 135px;
  background: #074fb1;
  img{
    width: 1200px;
    height: 135px;
  }
}
.sub-con-bg{
  width: 100%;
  padding: 120px 0 150px;
  .sub-con{
    width: 1200px;
    margin: 0 auto;
    display: flex;
    padding: 0 0 100px;
    .sub-pic{
      width: 412px;
      height: 355px;
    }
    .sub-txt{
      padding: 20px 0 0 55px;
      .sub-tit{
        font-size: 28px;
        color: #000000;
        font-weight: bold;
        text-align: left;
      }
      .sub-info{
        padding: 40px 0;
        font-size: 16px;
        color: #585858;
        line-height: 28px;
      }
      .sub-item{
        ul{
          li::before{
            position: absolute;
            left: 0;
            top: 10px;
            content: '';
            width: 16px;
            height: 16px;
          }
          li{
            position: relative;
            padding-left: 30px;
            font-size: 16px;
            color: #000000;
            line-height: 35px;
            font-weight: 600;
          }
        }
      }
    }
  }
  .sub-btn{
    width: 1200px;
    margin: 0 auto;
    padding: 0 0 0 510px;
    box-sizing: border-box;
  }
}


//抽屉
.drawer{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 500px;
  background: white;
  box-shadow: 0 0 16px 0 rgba(13,34,74,0.14);
  transform: translate3d(0, -500px, 0) scale3d(1, 1, 1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg);
  transform-style: preserve-3d;
  transition: transform 0.3s ease;
  z-index: 1000;
  padding: 20px;
}

.drawer.open {
  transform: translate3d(0, 0, 0) scale3d(1, 1, 1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg);
}
